package com.sgb.kjwl.model.entity;

import com.google.gson.annotations.SerializedName;

public class MachineOutEntity {
    @SerializedName("id")
    private String id;
    @SerializedName("title")
    private String title;
    @SerializedName("pictures")
    private String pictures;
    @SerializedName("price")
    private String price;
    @SerializedName("priceUnitName")
    private String priceUnitName;
    @SerializedName("brandName")
    private String brandName;
    @SerializedName("modelName")
    private String modelName;
    @SerializedName("refreshTime")
    private String refreshTime;

    public String getRefreshTime() {
        return refreshTime;
    }

    public void setRefreshTime(String refreshTime) {
        this.refreshTime = refreshTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPictures() {
        if (pictures != null) {
            String img[] = pictures.split(",");
            if (img != null || img.length > 0) {
                return img[0];
            }
        }
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPriceUnitName() {
        return priceUnitName;
    }

    public void setPriceUnitName(String priceUnitName) {
        this.priceUnitName = priceUnitName;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getModelName() {
        return modelName;
    }

    public void setModelName(String modelName) {
        this.modelName = modelName;
    }
}
